<?
require_once 'config.php';
$id = getValue('iPage','int','GET',0);
$page = new TemplatePage();
$page_detail = $page->DetailPage($id);
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi" lang="vi" xmlns:og="http://ogp.me/ns#" xmlns:fb="">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link type="image/x-icon" href="/favicon.ico" rel="icon" />
   <title><?=(showSeoTitle('page_static',$id) != '') ? showSeoTitle('page_static',$id) : $page_detail['pag_title']?></title>
   <meta name="description" content="<?=(showSeoMeta('page_static',$id) != '') ? showSeoMeta('page_static',$id) : $page_detail['pag_summary']?>"/>
   <?
      echo $global_meta;
   ?>
   <meta property="og:title" content="<?=$page_detail['pag_title']?>" />
   <meta property="og:url" content="<?=DOMAIN.generate_page_detail_url($page_detail)?>" />
   <meta property="og:image" content="<?=DOMAIN.page_static_img.$page_detail['pag_picture']?>" />
   <meta property="og:site_name" content="" />
   <meta property="og:description" content="<?=$page_detail['pag_summary']?>" />
   <!-- css -->   
   <link rel="stylesheet" type="text/css" href="/home/css/home.css" />	
   <link rel="stylesheet" type="text/css" href="/home/css/product.css" />
   <link rel="stylesheet" type="text/css" href="/home/css/news.css" />
   <!-- js -->
   <script type="text/javascript" src="/home/js/jquery-1.9.0.min.js"></script>
   <script type="text/javascript" src="<?=TEMPLATE_PATH?>js/common.js"></script>
</head>
<body>   
   <? include('view/common/vic_header.php');?>
   <div class="global_container">
      <div class="slider">
         <?include('view/common/vic_slide.php')?>
      </div>
      <div class="content_wrap">
         <div class="content_left">
            <?include('view/common/vic_content_left.php')?>
            
         </div>
         <div class="content_right">
            <?include('view/page/vip_detail.php')?>
         </div>
      </div>
      <?include('view/common/vic_social_networking.php');?>
   </div>
   <?include('view/common/vic_footer.php');?>
</body>
</html>